package com.xinyi.share.weixin.message.reply;

import java.util.ArrayList;
import java.util.List;

import com.xinyi.share.weixin.message.Message;
/**
 * 
 * @description 图文回复消息
 * @author wangchuan
 * @date 2014年7月5日下午9:32:13
 * @version 1.0
 */
public class NewsReplyMessage extends Message {
	/**
	 * 文章总数
	 */
	private int articlecount;
	private List<Article> articles = new ArrayList<>();
	
	public NewsReplyMessage(){}
	
	public NewsReplyMessage( String fromUserName, String toUserName,long createTime) {
		super(news,fromUserName,toUserName,createTime);
	}

	public int getArticlecount() {
		return articlecount;
	}

	public void addArticle(Article articles){
		this.articles.add(articles);
		this.articlecount = this.articles.size();
	}

	public List<Article> getArticles() {
		return articles;
	}
	
	
}
